package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.SysLedger;
import com.youlai.boot.system.model.form.SysLedgerForm;

/**
 * 流水台账对象转换器
 *
 * @author youlaitech
 * @since 2025-05-12 15:55
 */
@Mapper(componentModel = "spring")
public interface SysLedgerConverter{

    SysLedgerForm toForm(SysLedger entity);

    SysLedger toEntity(SysLedgerForm formData);
}